然后下载证书
==重点:服务器打开443端口==1
然后把下载的证书 放到nginx的安装目录,新建一个cert目录,把证书放到里面
然后保存 重启 nginx
访问你的 https 站点 类似https://www.baidu.com
技术分享,记录个人成长
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true